<?php
/**
 * Created by PhpStorm.
 * User: chy
 * Date: 2017/10/16
 * Time: 下午3:42
 */
?>

<html>
<head>
    <meta content="text/html; charset=utf8"; http-equiv="Content-Type"/>
    <script language="javascript" type="text/javascript" src="<?php echo base_url()?>js/bootstrap.min.js"></script>
    <link href="<?php echo base_url()?>css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url()?>css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <title>细菌数据管理中心</title>
    <style type="text/css">
        #admin{	height:28px;right:10px;	position:absolute;
            top:5px;width:200px;z-index:100;float:left;
            font:bold 13px Arial, Helvetica,sans-serif;
        //background:red;}
        #admin  a{color: white;padding:2px;text-decoration:none;font:normal 12px Arial, Helvetica,sans-serif;}
        #container {
            margin: 100px;
            border: 50px solid #D0D0D0;
            box-shadow: 0 0 40px #D0D0D0;
        }
    </style>

    <script type="Text/Javascript" language="JavaScript">
        if (window.top != window)
        {
            window.top.location.href = document.location.href;
            //document.location.href = window.top.location.href  ;
        }
    </script>


</head>
<body>
<div id="container">
    <h1 style="text-align:center;">细菌数据管理中心</h1>

    <div id="body" style="text-align:center;">
        管理员：<?php echo $this->session->userdata('user_name');?>
        <br/>
        <br/>
        <form  class="form-horizontal" action="<?php echo site_url('c_data/')?>" method="post" align="center">
            <div class="control-group">
                    <input id="inputSuccess" type="hidden" name="session_user_id" value="<?php echo $_SESSION['user_id']; ?>"/>
                    <input id="inputSuccess" type="hidden" name="session_user_name" value="<?php echo $_SESSION['user_name']; ?>"/>
                    <input id="inputSuccess" type="hidden" name="session_role_id" value="<?php echo $_SESSION['role_id']; ?>"/>
                    <input id="inputSuccess" type="hidden" name="session_logged_in" value="<?php echo $_SESSION['logged_in']; ?>"/>
                    <input class="btn btn-success" type=submit name="update_session" value="数据" align="center"/>
            </div>
        </form>

        <?php //echo $this->session->userdata('logged_in');?>
        <a href="<?php echo site_url('c_login/logout')?>" style="color: black">退出</a>
    </div>
</div>

</body>
<!--__frameset.php  line 24 <br/>-->

<!--<a href="#">ddd</a>-->
<?php //echo site_url('frameset/top')?>

<body style="background:white;">
</body>
</html>


